package com.thxrinfo.stop.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.pig4cloud.pig.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 停车场区域
 *
 * @author ct
 * @date 2023-02-02 13:40:05
 */
/**
 * 停车场区域
 *
 * @author ct
 * @date 2023-02-02 13:41:56
 */
@Data
@TableName("st_region")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "停车场区域")
public class Region extends BaseEntity {

	/**
	 * id
	 */
	@TableId(type = IdType.ASSIGN_ID)
	@Schema(description ="id")
	private Long id;

	/**
	 * 停车场id
	 */
	@Schema(description ="停车场id")
	private Long parkId;

	/**
	 * 是否同步
	 */
	@Schema(description ="是否同步")
	private Integer isSync;

	/**
	 * 区域名称
	 */
	@Schema(description ="区域名称")
	private String regionName;

	/**
	 * 车位数
	 */
	@Schema(description ="车位数")
	private Integer spaceNum;

	/**
	 * 是否仅月租
	 */
	@Schema(description ="是否仅月租")
	private Integer isOnlyMonthly;


}